package cn.chrilwe.pigpig.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

import cn.chrilwe.autocreatetable.start.annotation.EnableAutoCreateTable;

/**
 * 
 * @author chrilwe
 * 2020-8-5
 */
@SpringBootApplication
@EnableEurekaClient
@MapperScan(basePackages = "cn.chrilwe.pigpig.user.mapper")
@EnableAutoCreateTable
@EnableAspectJAutoProxy
public class UserApplication {

	public static void main(String[] args) {
		SpringApplication.run(UserApplication.class, args);
	}

}
